package com.lsl.abstract_factory.factory;

/**
 * Link类和Tray类的父类
 *
 * @author Zed
 * @description
 * @date 2022/11/27 17:57
 */
public abstract class Item {
    //项目的标题
    protected String caption;

    public Item(String caption) {
        this.caption = caption;
    }

    /**
     * 抽象方法，子类实现
     *
     * @return 返回值
     */
    public abstract String makeHTML();
}
